﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common.Enums
{
    public enum ErrorCode
    {
        Error = 0,
        SystemError = 1000001,
        ObjectDoesNotFind = 1001001,
        CanNotDeleteUsedObject = 1001002,
        CommandExecuteFail = 1001010,
        QueryExecuteFail = 1001020,
        No_Access_Permission = 1002000,
        No_Add_Permission = 1002001,
        No_Update_Permission = 1002002,
        No_View_Permission = 1002003,
        No_Delete_Permission = 1002004,
        No_Query_Permission = 1002005,
        No_Upload_Permission = 1002011,
        No_Download_Permission = 1002012,
        No_Import_Permission = 1002013,
        No_Expert_Permission = 1002014,
        Field_Is_Required = 1003001,
        Field_Data_Format_Error = 1003002,
        File_Upload_Error = 1003010,
        File_Move_Error = 1003020,
        Signin_Username_Is_Required = 2001001,
        Signin_Password_Is_Required = 2001002,
        Signin_User_Does_Not_Exists = 2001901,
        Signin_User_Is_Inactive = 2001902,
        IncorrectAuthenticationCode = 2002001,
        AuthenticationCodeExpired = 2002002,
        DuplicatedCheckError = 3003001,
    }
}
